//@author A0096794H
//This class inherits from the Task Class
//It is the template for the TimedTask Class
#ifndef _TIMEDTASK_H
#define _TIMEDTASK_H

#include <sstream>
#include "Task.h"
#include "Date.h"
#include "Time.h"

class TimedTask :
	public Task
{
private:
	Date startDate;
	Date endDate;
	Time startTime;
	Time endTime;
public:
	TimedTask(string, Date, Date);
	TimedTask(string, Date, Time, Time);
	TimedTask(string, Date, Time, Date, Time);

	Date getStartDate();
	Date getEndDate();
	Time getStartTime();
	Time getEndTime();

	ResultType setStartDate(Date);
	ResultType setEndDate(Date);
	ResultType setStartTime(Time);
	ResultType setEndTime(Time);

	string stringify();
	string format();
};

#endif